package com.mobilepoc.jersey.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Location {

	private Coordinates coordinates;
	private String name;
	private String address;
	
	public Location() {}
	
	/**
	 * Default constructor.
	 * 
	 * @param coordinates
	 */
	public Location(Coordinates coordinates) {
		this.coordinates = coordinates;
	}

	public Coordinates getCoordinates() {
		return coordinates;
	}

	public void setCoordinates(Coordinates coordinates) {
		this.coordinates = coordinates;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
}
